package com.example.lotterysystem.service;

import com.example.lotterysystem.controller.param.LotteryParam;
import com.example.lotterysystem.controller.param.WinningRecordListParam;
import com.example.lotterysystem.dao.dataobject.WinningRecord;
import com.example.lotterysystem.service.dto.WinningRecordDTO;

import java.util.List;

public interface LotteryService {
    void lotteryPrize(LotteryParam param);

    boolean checkLotteryParam(LotteryParam param);

    List<WinningRecord> saveLuckyRecords(LotteryParam lotteryParam);

    void deleteRecords(Long activityId, Long prizeId);

    List<WinningRecordDTO> getWinningRecordList(WinningRecordListParam param);
}
